<div id="tabs">
	<ul>
		<li><a href="/">Home</a></li>
		<li><a href="/list">List of Applications</a></li>
		<li><a href="/ranking">Ranking of Participants</a></li>
                <li><a href="/customlist">Custom list</a></li>
	</ul>
</div>
<h3>Participant's information</h3>
<br />
{{#participant}}
<form action="/update" method="post">

  <table id="infotable">
	<thead><tr>
		<th id="fieldname">Form fields</th>
		<th id="fieldcontent">Contents</th>
	</tr></thead>
  {{{fields}}}
      
  </table>
  <fieldset>
    <legend>Rate this participant</legend>
    Votes are secret. Please, use the "indult" and "condemn" values
    responsibly, as they put participants on the top/bottom of the 
    ranking. You can leave a comment to explain your decision. 
    All comments will be visible on the final ranking, but author will
    be secret unless you sign them.
    <br />
    <br />
    <input type="hidden" name="id" value="{{id}}" />
    <input type="hidden" name="name" value="{{fullname}}" />
    
    <input type="radio" name="rating" value="indult" {{{checkedIndult}}}/>Indult
    -- accept automaticly<br />
    <input type="radio" name="rating" value="3" {{{checked3}}}/>Good<br />
    <input type="radio" name="rating" value="2" {{{checked2}}}/>Medium<br />
    <input type="radio" name="rating" value="1" {{{checked1}}}/>Bad<br />
    <input type="radio" name="rating" value="condemn"
    {{{checkedCondemn}}}/>Condemn -- reject automaticly<br />
    
    <br />
    Your comment: <input type="text" name="comment" size="90" 
					value="{{comment}}"/>
    <br />
    <br />
    
    <button type="submit" name="action" value="previous">
      Save & go to previous</button>
    <button type="submit" name="action" value="save">
      Save</button>
    <button type="submit" name="action" value="next">
      Save & go to next</button>
    <br />
  </fieldset>
</form>
<a href="/list">Go to list</a><br />
<a href="/ranking">Go to ranking</a>
{{/participant}}
